package org.example.myleet.p1282;

import org.example.myleet.Utils.Assert;
import org.example.myleet.Utils.JsonUtils;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue("[[5],[0,1,2],[3,4,6]]".equals(JsonUtils.toJson(solution.groupThePeople(new int[]{3,3,3,3,3,1,3}))));
        Assert.isTrue("[[1],[0,5],[2,3,4]]".equals(JsonUtils.toJson(solution.groupThePeople(new int[]{2,1,3,3,3,2}))));
    }
}
